package com.leexuan.ordersystem.forms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class AdminForm extends ActionForm {

	private int aid = 0;
	private String name = null;
	private String username = null;
	private String password = null;

	public AdminForm() {
		super();
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {

		this.aid = 0;
		this.name = null;
		this.username = null;
		this.password = null;

	}

	public int getAid() {
		return this.aid;
	}

	public String getName() {
		return this.name;
	}

	public String getUsername() {
		return this.username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setAid(int aid) {
		this.aid = aid;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
